package com.employ.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

@TableName("nav")
@Data
public class NavEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id = 0;
    private String title;
    private String name;
    private String icon;
    private String path;
    private List<NavEntity> children;

}
